<?php require 'categorylisting.php'; ?>
<div id="images"   style="border: 1px solid #BDCFD9; width: 100%;">
	<form id="uploadVideoform" method="post" enctype="multipart/form-data" action="video_upload_process.php">   
    	<ul>
        	<li><input type="file" name="videofile" id="videofile" multiple="multiple" /></li>
			<li><input type="text" name="album" class="input_big" id="album"  placeholder="Untitled Album"/>
            	<div id="alb_msg"></div>
            </li>
            <li>
            	<select name="privacy" id="privacy">
                	<option value="public">Public</option>
                    <option value="private">Private</option>
                    <option value="public">Public</option>
                </select>
    		</li>
            <li><input type="text" id="comments" name="comments" class="input_big" placeholder="Say something about this album.."/>  </li>
            <li>
                <div id="cat">
                <small style="float:right;display:none">Hidden ID Field: <input type="text" id="videotestid" value="" style="font-size: 10px; width: 20px;" disabled="disabled" /></small>
                    <select name="category" id="category">
                        <option value="">Select Category</option>
                    <?php 
                    include('../model/model.php');
                    $model = new Model();
                    $ans = $model->getcat();
                    foreach($ans as $row)
                    {
                    ?>
                        <option value="<?php echo $row['id']; ?>"><?php echo $row['name']; ?></option>
                    <?php 
                    } 
                    ?>
                        <option value="0">Other</option>
                    </select>
                </div>
            </li>
            
            <li>
            		<div id="suggest_cat"><a href="#" id="suggestLink" style="color:#FF6501;">Suggest category</a></div>
                    <div id="new_suggestion"><input type="text" name="new_suggest" id="new_suggest" /></div>
            </li>
            
            <li><input id="Submit4" type="submit" value="Upload" class="btn" name="action"  /></li>
            
        </ul>
    </form>
</div>